package com.hmy.observer;

public class PersonDisplay implements Observer, Display{

	public void display(int height, int weight) {
		System.out.println("当前身高：" + height + "--当前体重：" + weight);
	}

	public void update(int height, int weight) {
		display(height, weight);
	}

}
